package org.exam.blog.service;



import com.github.pagehelper.PageInfo;
import org.exam.blog.domain.ArticleType;
import org.exam.blog.dto.ArticleDto;
import org.exam.blog.query.ArticleTypeQuery;

import java.util.List;


public interface IArticleTypeService {
    void add(ArticleType articleType);

    void delete(Long id);

    ArticleType get(Long id);

    List<ArticleType> getAll();

    void update(ArticleType articleType);

    void patchDelete(Long[] ids);

    PageInfo<ArticleType> queryPage(ArticleTypeQuery articleTypeQuery);

    List<ArticleType> typeTree();

    List<ArticleDto> get1();

    List<ArticleDto> get2();
}

